/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#include "bind.h"
#include "xmpp_uri.h"
Bind::Bind() : XmppElement("bind",XmppUri::BIND) {
}
QString Bind::Resource() {
    return GetTag("resource");
}

void Bind::SetResource(QString resource) {
   SetTag("resource",resource);
}

QString Bind::Jid() {
    return GetTag("jid");

}

void Bind::SetJid(QString jid) {
  SetTag("jid",jid);
}
